package com.insurance.productcase.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 产品方案
 * 
 * @date 2021-03-12 12:40:18
 */
@ApiModel(value = "产品方案")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ProductCaseDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "方案id")
	private String caseId;

	@ApiModelProperty(value = "方案名称")
	private String caseName;

	@ApiModelProperty(value = "方案价格")
	private BigDecimal casePrice;

	@ApiModelProperty(value = "方案描述")
	private String caseDoc;

	@ApiModelProperty(value = "方案id字符串")
	private String caseIdStr;

	public String getCaseIdStr() {
		return this.caseId != null ? String.valueOf(this.caseId) : "";
	}
}
